export const require = (path: string) => {
  try {
    const handlePath = path.replace('@', '..');
    const url = handlePath.substring(10);
    return new URL(`../assets/${url}`, import.meta.url).href;
  } catch (error) {
    console.warn(error);
  }
};
